package twu.exercises101.tests;

import org.junit.Test;
import twu.exercises101.Dollar;

import static junit.framework.TestCase.assertEquals;

/**
 * Created by roselmamendes on 9/17/14.
 */
public class DollarTest {

    @Test
    public void testMultiplication(){
        Dollar five = new Dollar(5);
        Dollar product = five.times(2);
        assertEquals(10,product.amount);
        product = five.times(3);
        assertEquals(15,product.amount);
    }

}
